package org.example.annotation;

import org.example.register.ApiSecurityRegister;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * Description:
 * 启动类上面@SectionScan(basePackages={"扫描的类路径"})
 * 类似@ComponentScan(basePackages = {"com.migu.*"})
 *
 * @author shenguangyang
 */
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target(ElementType.TYPE)
@Import({ApiSecurityRegister.class})
public @interface ApiSecurityScan {
    String[] basePackages() default {};
}
